package com.casestudy.projectscheduler.services;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.casestudy.projectscheduler.dao.ProjectDao;
import com.casestudy.projectscheduler.dto.ProjectDto;

@Service("projectServices")
public class ProjectServicesImpl implements ProjectServices {

	@Autowired
	private ProjectDao projectDao;
	
	public List<ProjectDto> getProjects() {
		return projectDao.getProjects();
	}

	/**
	 * @return the projectDao
	 */
	public ProjectDao getProjectDao() {
		return projectDao;
	}

	/**
	 * @param projectDao the projectDao to set
	 */
	public void setProjectDao(ProjectDao projectDao) {
		this.projectDao = projectDao;
	}
	
	

}
